# 
# string_extensions.rb
# 
# Created on 07/10/2007, 18:57:55
# 
# To change this template, choose Tools | Templates
# and open the template in the editor.
 

module StringExtensions
    
  def to_permalink(separator = '-')
    text = self.remover_acentos
    text = text.gsub( ' ', separator )
    text
  end
  
end
